div {
    height: 200px;
    width: 100%;
}

div:first-child {
    background-color: pink;
}

div:nth-child(2) {
    background-color: purple;
}